package cn.bytengine.stem.example.config;

import cn.bytengine.stem.cluster.udp.ClusterUdpProps;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ClusterConfig {
    @Bean
    @ConfigurationProperties("vert.cluster")
    public ClusterUdpProps clusterUdpProps() {
        return new ClusterUdpProps();
    }
}
